/* ----------------------------------------------------------------------------
 * Copyright (c) 2008 by Airbus SAS. All rights reserved. All intellectual
 * property rights in and/or in the computer program and its related
 * documentation and technology are the sole Airbus' property. This computer
 * program is under Airbus copyright and cannot be in whole or in part
 * reproduced, sublicensed, leased, sold or used in any form or by any means,
 * including without limitation graphic, electronic, mechanical, photocopying,
 * recording, taping or information storage and retrieval systems without Airbus
 * prior written consent. The downloading, exporting or reexporting of this
 * computer program or any related documentation or technology is subject to any
 * export rules, including US regulations.
 * ----------------------------------------------------------------------------
 */

package com.azzaou.service;

import java.util.List;
import java.util.Map;

import com.azzaou.model.User;


/**
 * IUserService
 */
public interface IUserService
{

  public void saveOrUpdate(User user);
  
  public void delete(User user);

  public List<User>  getAllUsers();

  public void deleteUsers(List<Long> listId);

  public Map<Integer, List<User>> getListUsers(int startRecord, int maxPerPage);

  public boolean isUserExist(String login);

  public List<User> getUserByCreteria(User user);

  public User login(String login, String password);

}
